/*
 * @(#)Main.java	11/05/31
 * Copyleft 2011. All rights reversed.
 *
 * This file is part of AverageGrade.
 *
 * AverageGrade is free software: you can redistribute it and/or modify
 * it under the terms of the GNU General Public License as published by
 * the Free Software Foundation, either version 3 of the License, or
 * (at your option) any later version.
 *
 * AverageGrade is distributed in the hope that it will be useful,
 * but WITHOUT ANY WARRANTY; without even the implied warranty of
 * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
 * GNU General Public License for more details.
 *
 * You should have received a copy of the GNU General Public License
 * along with AverageGrade. If not, see <http://www.gnu.org/licenses/>.
 */

package net.grade.averagegrade;

import javax.swing.SwingUtilities;

import net.grade.averagegrade.swing.AverageGrade;

/**
 * Main class of the AverageGrade application. Contains the <code>main</code>
 * method for launching the application.
 */
public class Main {

    /**
     * Runs the application by using SwingUtilities to tell the AWT
     * event dispatching thread to create a new instance of AverageGrade.
     *
     * @param args Start parameters (ignored).
     */
    public static void main(final String[] args) {
        SwingUtilities.invokeLater(new Runnable() {
            public void run() {
                new AverageGrade().setVisible(true);
            }
        });
    }
}